package mapper;

import entity.Order;

import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer oid);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer oid);
    Order getLastestOrder(Integer user_id);//得到当前最新订单
    List<String> getOrderStatusNum(Integer user_id);
    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);
}